123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <!--
- * 제 목 : SMAHB00800.xrw
- * 설 명 : 종합판정문구관리
- * 설 계 자 : 손주연
- * 작 성 자 : 손주연
- * 작 성 일 : 2007.03.13
- * 수정이력 : 2007.10.04 김다영 화면권한추가
- * 기 타 :
- -->
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>Untitle</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <judgexmpcdlst>
- <item>
- <sel/>
- <judgexmpcd/>
- <judghangshrtcnts/>
- <judgengshrtcnts/>
- <judgexmpgrpcd/>
- <judgexmpgrpnm/>
- <lastupdtrid/>
- <lastupdtdt/>
- </item>
- </judgexmpcdlst>
- <judgexmpdetl>
- <item>
- <judgexmpcd/>
- <judghangshrtcnts/>
- <judgengshrtcnts/>
- <useyn/>
- <judghangcnts/>
- <judgengcnts/>
- </item>
- <itemsick>
- <sickcd/>
- <sicknm/>
- <judgcd/>
- <cmpycd/>
- </itemsick>
- <itemtest>
- <testcd/>
- <testnm/>
- <instcd/>
- <healexamflag/>
- <judgexmpcd/>
- </itemtest>
- </judgexmpdetl>
- </main>
- <send>
- <srchjudgexmpcd/>
- <srchjudgexmpcnts/>
- <srchjudgexmpcd2/>
- <srchhealexamdetlflag/>
- <save>
- <savesick/>
- <healexamflag/>
- <mode/>
- </save>
- <srchinstcd/>
- <srchhealexamflag/>
- <srchjudgexmpcd2/>
- <savesub>
- <savetest/>
- <judgcd/>
- <instcd/>
- <healexamflag/>
- </savesub>
- <savegrp>
- <healexamflag/>
- <instcd/>
- <grpdata/>
- </savegrp>
- </send>
- <init>
- <baseinfo>
- <hedetflaglst>
- <A0070/>
- </hedetflaglst>
- </baseinfo>
- </init>
- <hidden>
- <testlst>
- <itemtest/>
- </testlst>
- <cnt/>
- </hidden>
- <source>
- <grdid/>
- </source>
- <temp>
- <okflag/>
- <instcd/>
- <healexamflag/>
- <testcd/>
- <judgexmpcd/>
- </temp>
- <popup>
- <item>
- <label>판정그룹등록</label>
- <func>addjudgegrp</func>
- </item>
- <item>
- <label>판정그룹삭제</label>
- <func>deljudgegrp</func>
- </item>
- <jugdgexmp>
- <judgexmpgrpcd/>
- <judgexmpgrpnm/>
- </jugdgexmp>
- </popup>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../ast/healexamweb/js/AHA001.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <submission id="TRAHB00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/judgexmpcdlst"/>
- <submission id="TRAHB00802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/judgexmpdetl"/>
- <submission id="TXAHB00801" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/save" replace="instance" resultref="/root/hidden"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fGetJudgExmpList();
-
- //화면권한추가
- btn_search.disabled = ! checkAuth("R");
- btn_save.disabled = ! checkAuth("X");
- btn_clear.disabled = ! checkAuth("X");
- btn_del.disabled = ! checkAuth("X");
- ]]>
- </script>
- <submission id="TXAHB00802" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/main/judgexmpdetl/itemtest" resultref="/root/hidden/testlst"/>
- <submission id="TXAHB00803" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/temp" replace="instance" resultref="/root/temp/delresult"/>
- <submission id="TXAHB00804" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/savegrp" resultref="/root/hidden/cnt"/>
- </model>
- <script type="javascript">
- <![CDATA[
- function fGetJudgExmpList(){
- fInit(false);
- model.removeNodeset("/root/main/judgexmpcdlst/item");
- model.setValue("/root/send/srchinstcd", getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/srchhealexamflag",fGetHealExamFlag());
- zbcfGetCodeList( new Array("A0070"), new Array( "/root/init/baseinfo/hedetflaglst"));
- if(fGetHealExamFlag() == "G"){
- caption13.attribute("visibility") = "hidden";
- cmb_healexamdetlflag.attribute("visibility") = "hidden";
- caption15.attribute("visibility") = "hidden";
- cmb_healexamdetlflag2.attribute("visibility") = "hidden";
- model.setValue("/root/send/srchhealexamdetlflag", cmb_healexamdetlflag2.value);
- }else{
- caption13.attribute("visibility") = "hidden";
- cmb_healexamdetlflag.attribute("visibility") = "hidden";
- caption15.attribute("visibility") = "hidden";
- cmb_healexamdetlflag2.attribute("visibility") = "hidden";
- }
- submit("TRAHB00801");
- }
-
- function fInit(vInput){
- ipt_exmpcd.disabled = false;
- if( vInput == false ) {
- model.removeNodeset("/root/main/judgexmpcdlst/item");
- }
- model.removeNodeset(grd_sicklst.nodeset);
- model.removeNodeset(grd_testlst.nodeset);
- model.resetInstanceNode("/root/main/judgexmpdetl/item");
- model.setFocus("ipt_exmpcd");
- model.refresh();
- }
- function fGetExmpDetlInfo(bCopy){
- var idx = grd_judgexmplst.Row;
- if( idx < 1) return ;
- ipt_exmpcd.disabled = !bCopy ;
- model.setValue("/root/send/srchinstcd",getUserInfo("dutplceinstcd"));
- model.setValue("/root/send/srchhealexamflag",fGetHealExamFlag());
- model.setValue("/root/send/srchjudgexmpcd2",model.getValue("/root/main/judgexmpcdlst/item[" +idx+ "]/judgexmpcd" ));
- submit("TRAHB00802");
- if(bCopy == true ) {
- model.setValue("/root/main/judgexmpdetl/item/judgexmpcd","");
- model.refresh();
- model.setFocus("ipt_exmpcd");
- }
- }
- function fCheckVal(){
- var vCd = model.getValue("/root/main/judgexmpdetl/item/judgexmpcd");
- if(vCd == "") {
- messageBox("예문코드는","I003");
- model.setFocus("ipt_exmpcd");
- }
-
- return true;
- }
- function fSaveExmp(vDel){
- if(vDel == true ) {
- if ( messageBox("판정소견정보를","Q001") !=6 ) return ;
- }
- else {
- if ( messageBox("판정소견정보를","Q002") !=6 ) return ;
- }
- if(!fCheckVal()) return ;
- model.copyNode("/root/send/save", "/root/main/judgexmpdetl/item");
-
- var vMode = "/root/send/save/mode";
- model.makeNode(vMode);
- if( ipt_exmpcd.disabled == true ){
- //update
- if(vDel == false ) {
- model.setValue(vMode, "u");
- }
- else {
- model.setValue(vMode, "d");
- }
- }
- else {
- //update
- model.setValue(vMode, "i");
- }
- model.makeNode("/root/send/save/healexamflag");
- model.setValue("/root/send/save/healexamflag",fGetHealExamFlag());
- model.makeNode("/root/send/save/savesick");
- model.setValue("/root/send/save/savesick", grd_sicklst.getUpdateData());
- if(fGetHealExamFlag() == "G"){
- model.makeNode("/root/send/save/healexamdetlflag");
- model.setValue("/root/send/save/healexamdetlflag", cmb_healexamdetlflag.value);
- }
-
- if( submit("TXAHB00801") == true ){
- //fGetJudgExmpList();
- fGetExmpDetlInfo(false);
- }
- }
- // 예문코드와 매칭되는 검사코드를 저장,삭제한다.
- function fExeTestCd() {
- var idx = grd_judgexmplst.Row;
- if( idx < 1) return ;
-
- var itest = grd_testlst.rows;
- for(var i=1;i<itest;i++){
- model.makeValue("/root/main/judgexmpdetl/itemtest[" +i+ "]/healexamflag", fGetHealExamFlag());;
- model.makeValue("/root/main/judgexmpdetl/itemtest[" +i+ "]/judgcd", model.getValue("/root/main/judgexmpcdlst/item[" +idx+ "]/judgexmpcd" ));
- model.makeValue("/root/main/judgexmpdetl/itemtest[" +i+ "]/instcd", getUserInfo("dutplceinstcd"));
- }
-
- var ret = submit("TXAHB00802");
- }
- /*****************************************************************************************************************************
- * 판정소견그룹을 등록,삭제 한다.
- ******************************************************************************************************************************/
- function fSetJudgeGrp(vMode) {
- var selIdxs = grd_judgexmplst.selectedRows;
-
- // 판정소견그룹을 등록한다.
- if(vMode == "A") {
- // 팝업화면을 나타낸다
- grp_judgexmpgrp.visible = true;
- //초기화
- model.setValue("/root/popup/jugdgexmp/judgexmpgrpcd","");
- model.setValue("/root/popup/jugdgexmp/judgexmpgrpnm","");
-
- }else if(vMode == "D") {
- // 선택한 row의 그룹코드,명을 삭제한다.
- for(var i=0; i < selIdxs; i++) {
- var idx = grd_judgexmplst.selectedRow(i);
- grd_judgexmplst.valueMatrix(idx,grd_judgexmplst.colRef("judgexmpgrpcd")) = "";
- grd_judgexmplst.valueMatrix(idx,grd_judgexmplst.colRef("judgexmpgrpnm")) = "";
- grd_judgexmplst.addStatus(idx, "update");
- }
- model.setValue("/root/send/savegrp/healexamflag" , model.getValue("/root/send/srchhealexamflag"));
- model.setValue("/root/send/savegrp/instcd" , model.getValue("/root/send/srchinstcd"));
- model.setValue("/root/send/savegrp/grpdata", grd_judgexmplst.getUpdateData());
- if(submit("TXAHB00804")) { grd_judgexmplst.clearStatus()}
- }
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:119px; height:14px; ">판정소견예문관리</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
- <caption id="caption1" class="tit_2" style="left:720px; top:55px; width:78px; height:14px; ">예문입력</caption>
- <datagrid id="grd_judgexmplst" nodeset="/root/main/judgexmpcdlst/item" caption="sel^소견코드^한글소견^영문소견^소견그룹코드^소견그룹명^최종수정자^최종수정일시" colsep="^" colwidth="42, 66, 220, 190, 100, 100, 80, 100" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="listbox" style="left:0px; top:75px; width:710px; height:650px; ">
- <col ref="sel" visibility="hidden"/>
- <col ref="judgexmpcd"/>
- <col ref="judghangshrtcnts"/>
- <col ref="judgengshrtcnts"/>
- <col ref="judgexmpgrpcd"/>
- <col ref="judgexmpgrpnm"/>
- <col ref="lastupdtrid"/>
- <col ref="lastupdtdt" format="yyyy-mm-dd hh:nn:ss"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fGetExmpDetlInfo(false);
- ]]>
- </script>
- <script type="javascript" ev:event="DOMFocusOut">
- <![CDATA[
- window.setPopupMenu(false);
- ]]>
- </script>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_judgexmplst.gridToInstance();
- ]]>
- </script>
- <script type="javascript" ev:event="onmousedown">
- <![CDATA[
- if(event.button == "3") {
- if(grd_judgexmplst.isCell(event.target) && grd_judgexmplst.row < grd_judgexmplst.rows) {
- window.setPopupMenu(true,"/root/popup/item","label","func",true);
- }else {
- window.setPopupMenu(false);
- }
- }
- ]]>
- </script>
- </datagrid>
- <line id="line10" class="line_3" style="x1:715px; y1:725px; x2:1194px; y2:725px; "/>
- <line id="line1" class="line_1" style="x1:715px; y1:70px; x2:1194px; y2:70px; "/>
- <line id="line2" class="line_2" style="x1:715px; y1:97px; x2:1194px; y2:97px; "/>
- <line id="line3" class="line_2" style="x1:715px; y1:121px; x2:1194px; y2:121px; "/>
- <caption id="caption11" class="cell_1" style="left:715px; top:99px; width:79px; height:23px; vertical-align:middle; ">한글소견</caption>
- <caption id="caption7" class="cell_1" style="left:715px; top:75px; width:79px; height:23px; font-family:돋움; vertical-align:middle; ">예문코드</caption>
- <caption id="caption3" class="tit_2" style="left:5px; top:55px; width:90px; height:14px; ">예문내역</caption>
- <line id="line4" class="line_1" style="x1:0px; y1:70px; x2:710px; y2:70px; "/>
- <line id="line5" class="line_2" style="x1:715px; y1:145px; x2:1194px; y2:145px; "/>
- <caption id="caption9" class="cell_1" style="left:715px; top:346px; width:79px; height:184px; vertical-align:middle; ">한글판정소견</caption>
- <line id="line8" class="line_2" style="x1:715px; y1:254px; x2:1194px; y2:254px; "/>
- <caption id="caption18" class="cell_1" style="left:715px; top:147px; width:79px; height:108px; vertical-align:middle; ">질환코드</caption>
- <caption id="caption14" class="cell_1" style="left:715px; top:123px; width:79px; height:23px; vertical-align:middle; ">영문소견</caption>
- <input id="ipt_exmpcd" ref="/root/main/judgexmpdetl/item/judgexmpcd" class="input_essential" style="left:797px; top:76px; width:123px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13) {
- model.setFocus("ipt_shrthang");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_shrthang" ref="/root/main/judgexmpdetl/item/judghangshrtcnts" class="input" style="left:797px; top:100px; width:392px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13) {
- model.setFocus("ipt_shrteng");
- }
- ]]>
- </script>
- </input>
- <input id="ipt_shrteng" ref="/root/main/judgexmpdetl/item/judgengshrtcnts" class="input" style="left:797px; top:124px; width:392px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- if( event.keyCode == 13) {
- model.setFocus("tar_hangcnts");
- }
- ]]>
- </script>
- </input>
- <textarea id="tar_hangcnts" ref="/root/main/judgexmpdetl/item/judghangcnts" scroll="vertical" style="left:797px; top:346px; width:392px; height:181px; "/>
- <textarea id="tar_engcnts" ref="/root/main/judgexmpdetl/item/judgengcnts" scroll="vertical" imemode="alpha" style="left:797px; top:532px; width:392px; height:191px; "/>
- <button id="btn_sickcd" class="btn2_letter4" style="left:720px; top:189px; width:64px; height:19px; ">
- <caption>질환코드</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var cnt = grd_sicklst.rows;
- ahafGetSickCd("SMAHB00800", "", "", cnt , grd_sicklst.nodeset );
- if( model.getValue( "/root/temp/okflag") == "Y" ){
- for( var i = cnt ; i < grd_sicklst.rows ; i++){
- grd_sicklst.addStatus(i, "insert");
- }
- }
- ]]>
- </script>
- </button>
- <caption id="caption10" class="cell_1" style="left:715px; top:531px; width:79px; height:194px; vertical-align:middle; ">영문판정소견</caption>
- <line id="line9" class="line_2" style="x1:715px; y1:529px; x2:1194px; y2:529px; "/>
- <group id="grp_search" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:35px; "/>
- <caption id="caption21" class="search_name" style="left:16px; top:8px; width:86px; height:17px; ">예문코드 :</caption>
- <button id="btn_search" class="btn1_letter2" style="left:1122px; top:7px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetJudgExmpList();
- ]]>
- </script>
- </button>
- <line id="line18" class="line_4" style="x1:1104px; y1:7px; x2:1104px; y2:29px; border-left-style:solid; "/>
- <input id="ipt_examcnts" ref="/root/send/srchjudgexmpcnts" class="input_search" style="left:420px; top:8px; width:290px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_examcd" ref="/root/send/srchjudgexmpcd" class="input_search" style="left:105px; top:8px; width:165px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption22" class="search_name" style="left:330px; top:8px; width:86px; height:17px; ">단문내용:</caption>
- <caption id="caption13" class="search_name" style="left:770px; top:8px; width:86px; height:17px; ">건진상세:</caption>
- </group>
- <datagrid id="grd_sicklst" nodeset="/root/main/judgexmpdetl/itemsick" caption="질환코드^질환명^판정코드^사업체코드" colsep="^" colwidth="83, 168, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:797px; top:165px; width:392px; height:87px; ">
- <col ref="sickcd"/>
- <col ref="sicknm"/>
- <col ref="judgcd" type="combo">
- <choices>
- <item>
- <label>A</label>
- <value>A</value>
- </item>
- <item>
- <label>B</label>
- <value>B</value>
- </item>
- <item>
- <label>C</label>
- <value>C</value>
- </item>
- <item>
- <label>R</label>
- <value>R</value>
- </item>
- </choices>
- </col>
- <col ref="cmpycd" type="input" visibility="visible"/>
- </datagrid>
- <caption id="caption2" class="cell_1" style="left:923px; top:75px; width:59px; height:23px; font-family:돋움; vertical-align:middle; ">사용여부</caption>
- <select id="chk_useyn" ref="/root/main/judgexmpdetl/item/useyn" overflow="visible" appearance="full" style="left:985px; top:77px; width:45px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>사용</label>
- <value>Y</value>
- </item>
- </choices>
- </select>
- <button id="btn_rsltdel" class="btn2_letter5" style="left:1114px; top:145px; width:75px; height:19px; ">
- <caption>선택행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- deleteSelectedRows(grd_sicklst, true);
- ]]>
- </script>
- </button>
- <button id="btn_copy" class="btn2_letter3" style="left:657px; top:50px; width:53px; height:19px; ">
- <caption>행복사</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fGetExmpDetlInfo(true);
- ]]>
- </script>
- </button>
- <caption id="caption4" class="cell_1" style="left:715px; top:256px; width:79px; height:89px; vertical-align:middle; ">질환코드</caption>
- <line id="line6" class="line_2" style="x1:715px; y1:344px; x2:1194px; y2:344px; "/>
- <datagrid id="grd_testlst" nodeset="/root/main/judgexmpdetl/itemtest" caption="검사코드^검사명" colsep="^" colwidth="150, 200" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:797px; top:274px; width:392px; height:68px; ">
- <col ref="testcd"/>
- <col ref="testnm"/>
- </datagrid>
- <button id="ipt_testcd" class="btn2_letter4" style="left:720px; top:289px; width:64px; height:24px; ">
- <caption>검사코드</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var cnt = grd_testlst.rows;
- var vjudgexmpcd = model.getValue("/root/main/judgexmpcdlst/item["+grd_judgexmplst.row+"]/judgexmpcd");
- ahafGetTestCd("SMAHB00800", "", "", cnt , grd_testlst.nodeset ,vjudgexmpcd);
- if( model.getValue( "/root/temp/okflag") == "Y" ){
- for( var i = cnt ; i < grd_testlst.rows ; i++){
- grd_testlst.addStatus(i, "insert");
- }
-
- }
- ]]>
- </script>
- </button>
- <button id="button3" class="btn2_letter6" style="left:1102px; top:254px; width:86px; height:19px; ">
- <caption>검사코드삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // grd_testlst.addStatus(grd_testlst.row,"delete");
- //fExeTestCd();
- deleteTest(grd_testlst.row);
- ]]>
- </script>
- </button>
- <button id="button2" class="btn2_letter6" style="left:1014px; top:254px; width:86px; height:19px; ">
- <caption>검사코드저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fExeTestCd();
- ]]>
- </script>
- </button>
- <group id="grp_judgexmpgrp" visibility="hidden" showeffect="blend 300" style="left:280px; top:195px; width:425px; height:79px; ">
- <caption id="caption5" class="cell_1" style="left:0px; top:25px; width:79px; height:23px; font-family:돋움; vertical-align:middle; ">소견그룹코드</caption>
- <caption id="caption8" class="tit_2" style="left:5px; top:5px; width:95px; height:14px; ">소견그룹등록</caption>
- <line id="line7" class="line_1" style="x1:0px; y1:20px; x2:424px; y2:20px; "/>
- <input id="ipt_judgexmpgrpcd" ref="/root/popup/jugdgexmp/judgexmpgrpcd" class="input_essential" style="left:82px; top:26px; width:120px; height:19px; "/>
- <caption id="caption12" class="cell_1" style="left:205px; top:25px; width:79px; height:23px; font-family:돋움; vertical-align:middle; ">소견그룹명</caption>
- <input id="ipt_judgexmpgrpnm" ref="/root/popup/jugdgexmp/judgexmpgrpnm" class="input_essential" style="left:287px; top:26px; width:134px; height:19px; "/>
- <button id="btn_savepopup" class="btn4_letter2" style="left:365px; top:53px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- ipt_judgexmpgrpnm.refresh();
-
- var selIdxs = grd_judgexmplst.selectedRows;
- var judgexmpgrpcd = ipt_judgexmpgrpcd.value;
- var judgexmpgrpnm = ipt_judgexmpgrpnm.value;
- for(var i = 0; i < selIdxs; i++) {
- var selIdx = grd_judgexmplst.selectedRow(i);
- if(judgexmpgrpcd != "") grd_judgexmplst.valueMatrix(selIdx,grd_judgexmplst.colRef("judgexmpgrpcd")) = judgexmpgrpcd;
- if(judgexmpgrpnm != "") grd_judgexmplst.valueMatrix(selIdx,grd_judgexmplst.colRef("judgexmpgrpnm")) = judgexmpgrpnm;
- grd_judgexmplst.addStatus(selIdx , "update");
- }
- model.setValue("/root/send/savegrp/grpdata", grd_judgexmplst.getUpdateData());
- model.setValue("/root/send/savegrp/healexamflag" , model.getValue("/root/send/srchhealexamflag"));
- model.setValue("/root/send/savegrp/instcd" , model.getValue("/root/send/srchinstcd"));
- grp_judgexmpgrp.visible = false;
- if(submit("TXAHB00804")) {grd_judgexmplst.clearStatus()};
- ]]>
- </script>
- </button>
- <line id="line11" class="line_2" style="x1:0px; y1:48px; x2:424px; y2:48px; "/>
- <button id="btn_rsltexmp" class="icon_plus" style="left:408px; top:4px; width:13px; height:15px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- grp_judgexmpgrp.visible = false;
- ]]>
- </script>
- </button>
- </group>
- <select1 id="cmb_healexamdetlflag" ref="/root/send/srchhealexamdetlflag" class="combo_s_essential" appearance="minimal" style="left:857px; top:18px; width:85px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/hedetflaglst/A0070">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption15" class="cell_1" style="left:1033px; top:75px; width:59px; height:23px; font-family:돋움; vertical-align:middle; ">건진상세</caption>
- <select1 id="cmb_healexamdetlflag2" ref="/root/send/srchhealexamdetlflag" class="combo_s_essential" appearance="minimal" style="left:1098px; top:76px; width:91px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/baseinfo/hedetflaglst/A0070">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- </group>
- <group id="grp_btn" style="left:0px; top:757px; width:1195px; height:27px; ">
- <button id="btn_save" class="btn4_letter2" style="left:1007px; top:5px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- for ( var i = 1; i < grd_sicklst.rows; i ++){
- if (model.getValue("/root/main/judgexmpdetl/itemsick[" + i + "]/sickcd") == ""){
- messageBox("질환코드는 필수 선택항목 입니다.", "E999", "");
- return;
- }
- if (model.getValue("/root/main/judgexmpdetl/itemsick[" + i + "]/judgcd") == ""){
- messageBox("판정코드는 필수 선택항목 입니다.", "E999", "");
- return;
- }
- }
- var irow = grd_judgexmplst.row;
- fSaveExmp(false);
- btn_search.dispatch("DOMActivate");
- grd_judgexmplst.row = irow;
- grd_judgexmplst.dispatch("ondblclick");
- ]]>
- </script>
- </button>
- <button id="btn_del" class="btn4_letter2" style="left:1067px; top:5px; width:56px; height:22px; ">
- <caption>삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSaveExmp(true);
- ]]>
- </script>
- </button>
- <button id="btn_clear" class="btn4_letter3" style="left:1126px; top:5px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInit(true);
- ]]>
- </script>
- </button>
- </group>
- <script type="javascript" ev:event="onmenu">
- <![CDATA[
- if(event.description == "addjudgegrp") {
- fSetJudgeGrp("A");
- }
- if(event.description == "deljudgegrp") {
- fSetJudgeGrp("D");
- }
- ]]>
- </script>
- </xhtml:body>
- </xhtml:html>
|